package com.yq.ylmall.acl.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yq.ylmall.model.acl.Role;
import com.yq.ylmall.dto.acl.RoleQueryDto;

import java.util.Map;

public interface RoleService extends IService<Role> {
    //角色分页列表
    IPage<Role> selectPage(Page<Role> pageParam, RoleQueryDto roleQueryDto);

    //查询所有角色
    Map<String, Object> findAllRoles(Long userId);
}
